using System.ComponentModel.DataAnnotations;

namespace Sheep_Breeding.Write.Api.DTOSheep
{
    /// <summary>
    /// 更新栋舍状态的DTO
    /// </summary>
    public class UpdateBuildingManagementStatusDto
    {
        /// <summary>
        /// 栋舍ID
        /// </summary>
        [Required(ErrorMessage = "栋舍ID不能为空")]
        public int BuildingId { get; set; }

        /// <summary>
        /// 状态（true：启用，false：禁用）
        /// </summary>
        public bool Status { get; set; }
    }
} 